package com.coocaa.ops.admin.base.aspect.validator;

/**
 * @author bijiahao
 * @date : 2018/6/17.
 * @description
 */
public final class AspectParamsValidator {

    /**
     * 是否返回数据成功
     *
     * @param code
     * @return
     */
    public static boolean isSuccess(String code) {
        return "0".equals(code);
    }

}
